package cn.hp.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Announcement {

// Integer 是 int类型的包装类，提供了一些方法

    private Integer id; //公告id

    private String title; //公告标题

    private String contents; //公告内容

    private String createDatetime; //公告创建的时间

    private Integer annStatus; //公告状态 0正常 1废弃

    private String annDate; //公告状态修改时间


}
